package cn.ffcs.bpm.model;


import java.util.Date;

import cn.ffcs.base.model.BaseEntity;

/**
 * 周报月报类<br/>
 * <table>
 * <tr>
 * <td>负责人/principal:</td>
 * <td colspan="2">g.pany</td>
 * <tr>
 * <td>修改记录/revision:</td>
 * <td colspan="2"></td>
 * </tr>
 * <tr>
 * <td>日期:2010-4-12</td>
 * <td>修改人:g.yedw</td>
 * <td>修改说明:</td>
 * </tr>
 * <tr>
 * <td></td>
 * <td></td>
 * <td></td>
 * </tr>
 * </table>
 * @author g.yedw
 * @version $Id$
 */

public class Report extends BaseEntity
{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/** 唯一键 **/
    private Integer id;
    
    /** 汇报人**/
    private String personId;
    
    /** 需求单id**/
    private String reqId;
    
    /** 操作时间**/
    private Date operateTime;
    
    /** 类型**/
    private String type;

    /** 本月/周完成情况**/
    private String operateInfo;
    
    /** 需求协助事项**/
    private String helpItem;
    
    /** 下一阶段工作安排**/
    private String nextWork;
    
    /** 第几周的周报或第几月的月报**/
    private String dwNum;
    
    /** 到达时间**/
    private Date receiveTime;
    
    
    
    
    
    
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getReqId() {
		return reqId;
	}

	public void setReqId(String reqId) {
		this.reqId = reqId;
	}

	public Date getOperateTime() {
		return operateTime;
	}

	public void setOperateTime(Date operateTime) {
		this.operateTime = operateTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getOperateInfo() {
		if(operateInfo!=null&&!"".equals(operateInfo)){
			operateInfo=operateInfo.replaceAll("\n", "<br/>");
		}
		return operateInfo;
	}

	public void setOperateInfo(String operateInfo) {
		this.operateInfo = operateInfo;
	}

	public String getHelpItem() {
		if(helpItem!=null&&!"".equals(helpItem)){
			helpItem=helpItem.replaceAll("\n", "<br/>");
		}
		return helpItem;
	}

	public void setHelpItem(String helpItem) {
		this.helpItem = helpItem;
	}

	public String getNextWork() {
		if(nextWork!=null&&!"".equals(nextWork)){
			nextWork=nextWork.replaceAll("\n", "<br/>");
		}
		return nextWork;
	}

	public void setNextWork(String nextWork) {
		this.nextWork = nextWork;
	}

	public String getDwNum() {
		return dwNum;
	}

	public void setDwNum(String dwNum) {
		this.dwNum = dwNum;
	}

	public Date getReceiveTime() {
		return receiveTime;
	}

	public void setReceiveTime(Date receiveTime) {
		this.receiveTime = receiveTime;
	}

}
